package com.ruoyi.user.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 管理员管理对象 user_admin
 *
 * @author ruoyi
 * @date 2024-10-24
 */
@EqualsAndHashCode(callSuper = true)// 重写equals和hashCode方法
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserAdmin extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 管理员主键 */
    private Long id;

    /** UserID */
    @Excel(name = "UserID")
    private String userId;

    /** 用户名 */
    @Excel(name = "用户名")
    private String adminName;

    /** 头像 */
    @Excel(name = "头像")
    private String adminImage;

    /** 管理员手机号 */
    @Excel(name = "管理员手机号")
    private String adminPhone;

    /** 性别 */
    @Excel(name = "性别")
    private Long adminSex;

    /** 在线状态 */
    @Excel(name = "在线状态")
    private Long adminOnStatus;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date adminCreatedate;

    /** 状态 */
    @Excel(name = "状态")
    private Long adminStatus;


    /** 角色 */
    @Excel(name = "角色")
    private String adminJs;




}
